package org.zetaframework.mq.constants;

/**
 * Demo服务 MQ常量
 *
 * @author gcc
 */
public final class DemoMqConstants {

    /*********************************************************************
     * 交换机：                          demo.topic
     *                                       ↓
     * 队列：         demo.topic.create             demo.topic.update
     * routingKey:      demo.create                   demo.update
     *********************************************************************/
    /** demo topic绑定名称 */
    public static final String DEMO_BINDING_NAME = "demo-out-0";
    /** demo topic交换机 */
    public static final String DEMO_EXCHANGE_NAME = "demo.topic";
    /** demo topic队列1 */
    public static final String DEMO_QUEUE_CREATE = "demo.topic.create";
    /** demo topic队列2 */
    public static final String DEMO_QUEUE_UPDATE = "demo.topic.update";
    /** routingKey  */
    public static final String DEMO_ROUTING_KEY_CREATE = "demo.create";
    public static final String DEMO_ROUTING_KEY_UPDATE = "demo.update";

}
